/*
* @Author: wanghongfucoder
* @Date:   2017-04-11 11:07:03
* @Last Modified by:   wanghongfucoder
* @Last Modified time: 2017-04-11 11:10:29
*/

public  class Demo {
	public static void main(String[] args) {
		FilterManager filterManager=new FilterManager(new Target());
		filterManager.setFilter(new AuthenticationFilter());
		filterManager.setFilter(new DebugFilter());

		Client client=new Client();
		client.setFilterManager(filterManager);
		client.sendRequest("HOME");
	}
}